<?php
/**
 * Each engineer has a duty to keep the code elegant
 * Created by wolffy.
 * Author @wolffy<13750088090@sina.cn>
 * Date: 2018/8/11
 * Time: 22:34
 */

return [
    //支付宝
    'alipay' => [
        'appid' => env('ALIPAY_APP_ID', ''),//appid
        'notify_url' => env('ALIPAY_NOTIFY_URL', ''),//回调地址
        'is_debug' => env('ALIPAY_IS_DEBUG', false),//是否调试
        'rsa_private_key' => env('ALIPAY_RSA_PRIVATE_KEY', ''),//私钥
        'rsa_public_key' => env('ALIPAY_RSA_PUBLIC_KEY', ''),//公钥
    ],
    //微信
    'wxpay' => [
        'mchid' => env('WXPAY_MCH_ID', ''),
        'appid' => env('WXPAY_APP_ID', ''),
        'app_key' => env('WXPAY_APP_KEY', ''),
        'api_key' => env('WXPAY_API_KEY', ''),
        'notify_url' => env('WXPAY_NOTIFY_URL', ''),
        'is_debug' => env('WXPAY_IS_DEBUG', false),//是否调试
    ],
    //四方支付
    'fourpay' => [
        'api_url' => env('FOURPAY_API_URL', ''),
        'mch_id' => env('FOURPAY_MCH_ID', ''),
        'app_id' => env('FOURPAY_APP_ID', ''),
        'api_key' => env('FOURPAY_API_KEY', ''),
        'quick_pay_f' => [
            'trade_notify_url' => env('FOURPAY_QUICK_PAY_F_TRADE_NOTIFY_URL', ''),
        ],
        'quick_pay_l' => [
            'trade_notify_url' => env('FOURPAY_QUICK_PAY_L_TRADE_NOTIFY_URL', ''),
        ],
        'landing_pay_c' => [
            'bind_card_return_url' => env('FOURPAY_LANDING_PAY_C_BIND_CARD_RETURN_URL', ''),
            'bind_card_notify_url' => env('FOURPAY_LANDING_PAY_C_BIND_CARD_NOTIFY_URL', ''),
            'trade_notify_url' => env('FOURPAY_LANDING_PAY_C_TRADE_NOTIFY_URL', ''),
            'withdraw_notify_url' => env('FOURPAY_LANDING_PAY_C_WITHDRAW_NOTIFY_URL', ''),
            'withdraw_handle_notify_url' => env('FOURPAY_LANDING_PAY_C_WITHDRAW_HANDLE_NOTIFY_URL', ''),
        ],
        'large_pay_x' => [
            'trade_notify_url' => env('FOURPAY_LARGE_PAY_X_TRADE_NOTIFY_URL', ''),
            'withdraw_notify_url' => env('FOURPAY_LARGE_PAY_X_WITHDRAW_NOTIFY_URL', ''),
            'withdraw_handle_notify_url' => env('FOURPAY_LARGE_PAY_X_WITHDRAW_HANDLE_NOTIFY_URL', ''),
        ],
        'receive_and_payment_g' => [
            'trade_notify_url' => env('FOURPAY_RECEIVE_AND_PAYMENT_G_TRADE_NOTIFY_URL', ''),
        ],
    ],
];